package com.xian.create;

public class ArrayDemo4 {
    public static void main(String[] args) {
        //目标：动态数组

        double [] scores = new double[3];

        //赋值
        scores[0] = 10;
        scores[2] = 102.5;

        System.out.println(scores[1]);  //没有赋值--默认值
        System.out.println(scores[2]);
    }
}
